<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'success.jsp' starting page</title>
    

  </head>
  
  <body>
   <h4>成功</h4> <br>
   message:${requestScope.message}<br>
   names:${names} 
   user:${user }
   session ${sessionScope.user }<br>
   
   <fmt:message key="i18n.username"></fmt:message><br>
   <fmt:message key="i18n.password"></fmt:message>
   
  </body>
</html>
